<?php

namespace Acme\DemoBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Nhanvien
 *
 * @ORM\Table(name="nhanvien")
 * @ORM\Entity(repositoryClass="Acme\DemoBundle\Repository\NhanVienRepository")
 */
class Nhanvien
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="hoten", type="string", length=100, nullable=true)
     */
    private $hoten;

    /**
     * @var string
     *
     * @ORM\Column(name="diachi", type="string", length=100, nullable=true)
     */
    private $diachi;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ngayvaolam", type="datetime", nullable=true)
     */
    private $ngayvaolam;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ngaysinh", type="datetime", nullable=true)
     */
    private $ngaysinh;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ngayvaodang", type="datetime", nullable=true)
     */
    private $ngayvaodang;

    /**
     * @var string
     *
     * @ORM\Column(name="dienthoai", type="string", length=20, nullable=true)
     */
    private $dienthoai;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created", type="datetime", nullable=true)
     */
    private $created;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="updated", type="datetime", nullable=true)
     */
    private $updated;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="deleted", type="datetime", nullable=true)
     */
    private $deleted;

    /**
     * @var \Chucvu
     *
     * @ORM\ManyToOne(targetEntity="Chucvu")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="chucvuid", referencedColumnName="id")
     * })
     */
    private $chucvuid;

    /**
     * @var \Phongban
     *
     * @ORM\ManyToOne(targetEntity="Phongban")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="phongbanid", referencedColumnName="id")
     * })
     */
    private $phongbanid;

    /**
     * @var \Trinhdo
     *
     * @ORM\ManyToOne(targetEntity="Trinhdo")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="trinhdoid", referencedColumnName="id")
     * })
     */
    private $trinhdoid;

    /**
     * @var \Lydonghiviec
     *
     * @ORM\ManyToOne(targetEntity="Lydonghiviec")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="nghiviecid", referencedColumnName="id")
     * })
     */
    private $lydoid;
    
   
    /**
     * Set lydoid
     *
     * @param \Acme\DemoBundle\Entity\Lydonghiviec $lydoid
     * @return Nhanvien
     */
    public function setLydoid(\Acme\DemoBundle\Entity\Lydonghiviec $lydoid = null)
    {
    	$this->lydoid = $lydoid;
    
    	return $this;
    }
    
    /**
     * Get trinhdoid
     *
     * @return \Acme\DemoBundle\Entity\Lydonghiviec
     */
    public function getLydoid()
    {
    	return $this->lydoid;
    }
    
    /**
     * @var string
     *
     * @ORM\Column(name="tinhbaohiem", type="boolean", nullable=true)
     */
    private $tinhbaohiem;
    
    /**
     * Set tinhbaohiem
     *
     * @param integer $tinhbaohiem
     * @return Nhanvien
     */
    public function setTinhbaohiem($tinhbaohiem)
    {
    	$this->tinhbaohiem = $tinhbaohiem;
    
    	return $this;
    }
    
    /**
     * Get tinhbaohiem
     *
     * @return integer
     */
    public function getTinhbaohiem()
    {
    	return $this->tinhbaohiem;
    }
    
    /**
     * @var string
     *
     * @ORM\Column(name="tinhantrua", type="boolean", nullable=true)
     */
    private $tinhantrua;
    
    /**
     * Set tinhantrua
     *
     * @param integer $tinhantrua
     * @return Nhanvien
     */
    public function setTinhantrua($tinhantrua)
    {
    	$this->tinhantrua = $tinhantrua;
    
    	return $this;
    }
    
    /**
     * Get tinhantrua
     *
     * @return integer
     */
    public function getTinhantrua()
    {
    	return $this->tinhantrua;
    }
    
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set hoten
     *
     * @param string $hoten
     * @return Nhanvien
     */
    public function setHoten($hoten)
    {
        $this->hoten = $hoten;
    
        return $this;
    }

    /**
     * Get hoten
     *
     * @return string 
     */
    public function getHoten()
    {
        return $this->hoten;
    }

    /**
     * Set diachi
     *
     * @param string $diachi
     * @return Nhanvien
     */
    public function setDiachi($diachi)
    {
        $this->diachi = $diachi;
    
        return $this;
    }

    /**
     * Get diachi
     *
     * @return string 
     */
    public function getDiachi()
    {
        return $this->diachi;
    }

    /**
     * Set ngayvaolam
     *
     * @param \DateTime $ngayvaolam
     * @return Nhanvien
     */
    public function setNgayvaolam($ngayvaolam)
    {
        $this->ngayvaolam = $ngayvaolam;
    
        return $this;
    }

    /**
     * Get ngayvaolam
     *
     * @return \DateTime 
     */
    public function getNgayvaolam()
    {
        return $this->ngayvaolam;
    }

    /**
     * Set ngaysinh
     *
     * @param \DateTime $ngaysinh
     * @return Nhanvien
     */
    public function setNgaysinh($ngaysinh)
    {
        $this->ngaysinh = $ngaysinh;
    
        return $this;
    }

    /**
     * Get ngaysinh
     *
     * @return \DateTime 
     */
    public function getNgaysinh()
    {
        return $this->ngaysinh;
    }

    /**
     * Set ngayvaodang
     *
     * @param \DateTime $ngayvaodang
     * @return Nhanvien
     */
    public function setNgayvaodang($ngayvaodang)
    {
        $this->ngayvaodang = $ngayvaodang;
    
        return $this;
    }

    /**
     * Get ngayvaodang
     *
     * @return \DateTime 
     */
    public function getNgayvaodang()
    {
        return $this->ngayvaodang;
    }

    /**
     * Set dienthoai
     *
     * @param string $dienthoai
     * @return Nhanvien
     */
    public function setDienthoai($dienthoai)
    {
        $this->dienthoai = $dienthoai;
    
        return $this;
    }

    /**
     * Get dienthoai
     *
     * @return string 
     */
    public function getDienthoai()
    {
        return $this->dienthoai;
    }

    /**
     * Set created
     *
     * @param \DateTime $created
     * @return Nhanvien
     */
    public function setCreated($created)
    {
        $this->created = $created;
    
        return $this;
    }

    /**
     * Get created
     *
     * @return \DateTime 
     */
    public function getCreated()
    {
        return $this->created;
    }

    /**
     * Set updated
     *
     * @param \DateTime $updated
     * @return Nhanvien
     */
    public function setUpdated($updated)
    {
        $this->updated = $updated;
    
        return $this;
    }

    /**
     * Get updated
     *
     * @return \DateTime 
     */
    public function getUpdated()
    {
        return $this->updated;
    }

    /**
     * Set deleted
     *
     * @param \DateTime $deleted
     * @return Nhanvien
     */
    public function setDeleted($deleted)
    {
        $this->deleted = $deleted;
    
        return $this;
    }

    /**
     * Get deleted
     *
     * @return \DateTime 
     */
    public function getDeleted()
    {
        return $this->deleted;
    }

    /**
     * Set chucvuid
     *
     * @param \Acme\DemoBundle\Entity\Chucvu $chucvuid
     * @return Nhanvien
     */
    public function setChucvuid(\Acme\DemoBundle\Entity\Chucvu $chucvuid = null)
    {
        $this->chucvuid = $chucvuid;
    
        return $this;
    }

    /**
     * Get chucvuid
     *
     * @return \Acme\DemoBundle\Entity\Chucvu 
     */
    public function getChucvuid()
    {
        return $this->chucvuid;
    }

    /**
     * Set phongbanid
     *
     * @param \Acme\DemoBundle\Entity\Phongban $phongbanid
     * @return Nhanvien
     */
    public function setPhongbanid(\Acme\DemoBundle\Entity\Phongban $phongbanid = null)
    {
        $this->phongbanid = $phongbanid;
    
        return $this;
    }

    /**
     * Get phongbanid
     *
     * @return \Acme\DemoBundle\Entity\Phongban 
     */
    public function getPhongbanid()
    {
        return $this->phongbanid;
    }

    /**
     * Set trinhdoid
     *
     * @param \Acme\DemoBundle\Entity\Trinhdo $trinhdoid
     * @return Nhanvien
     */
    public function setTrinhdoid(\Acme\DemoBundle\Entity\Trinhdo $trinhdoid = null)
    {
        $this->trinhdoid = $trinhdoid;
    
        return $this;
    }

    /**
     * Get trinhdoid
     *
     * @return \Acme\DemoBundle\Entity\Trinhdo 
     */
    public function getTrinhdoid()
    {
        return $this->trinhdoid;
    }
    
    /**
     * @var interger
     *
     * @ORM\Column(name="tienphucap", type="bigint", nullable=true)
     */
    private $tienphucap;
    
    /**
     * Set tienphucap
     *
     * @param integer $tienphucap
     * @return Nhanvien
     */
    public function setTienphucap($tienphucap)
    {
    	$this->tienphucap = $tienphucap;
    
    	return $this;
    }
    
    /**
     * Get tienphucap
     *
     * @return integer
     */
    public function getTienphucap()
    {
    	return $this->tienphucap;
    }
    
    /**
     * @var interger
     *
     * @ORM\Column(name="mucluong", type="float", nullable=true)
     */
    private $mucluong;
    
    /**
     * Set mucluong
     *
     * @param integer $mucluong
     * @return Nhanvien
     */
    public function setMucluong($mucluong)
    {
    	$this->mucluong = $mucluong;
    
    	return $this;
    }
    
    /**
     * Get mucluong
     *
     * @return integer
     */
    public function getMucluong()
    {
    	return $this->mucluong;
    }
    
    /**
     * @var interger
     *
     * @ORM\Column(name="hesoluongcv", type="float", nullable=true)
     */
    private $hesoluongcv;
    
    /**
     * Set hesoluongcv
     *
     * @param integer $hesoluongcv
     * @return Nhanvien
     */
    public function setHesoluongcv($hesoluongcv)
    {
    	$this->hesoluongcv = $hesoluongcv;
    
    	return $this;
    }
    
    /**
     * Get hesoluongcv
     *
     * @return integer
     */
    public function getHesoluongcv()
    {
    	return $this->hesoluongcv;
    }
    
    
    /**
     * @var interger
     *
     * @ORM\Column(name="thutu", type="bigint", nullable=true)
     */
    private $thutu;
    
    /**
     * Set thutu
     *
     * @param integer $thutu
     * @return Nhanvien
     */
    public function setThutu($thutu)
    {
    	$this->thutu = $thutu;
    
    	return $this;
    }
    
    /**
     * Get thutu
     *
     * @return integer
     */
    public function getThutu()
    {
    	return $this->thutu;
    }
    
    /**
     * @var integer
     *
     * @ORM\Column(name="lg", type="integer", nullable=true)
     */
    private $lg;
    
    /**
     * Set lg
     *
     * @param integer $lg
     * @return Chung
     */
    public function setLg($lg)
    {
    	$this->lg = $lg;
    
    	return $this;
    }
    
    /**
     * Get lg
     *
     * @return integer
     */
    public function getLg()
    {
    	return $this->lg;
    }
    /**
     * @var interger
     *
     * @ORM\Column(name="giamtrugiacanh", type="bigint", nullable=true)
     */
    private $giamtrugiacanh;
    
    /**
     * Set giamtrugiacanh
     *
     * @param integer $giamtrugiacanh
     * @return Nhanvien
     */
    public function setGiamtrugiacanh($giamtrugiacanh)
    {
    	$this->giamtrugiacanh = $giamtrugiacanh;
    
    	return $this;
    }
    
    /**
     * Get giamtrugiacanh
     *
     * @return integer
     */
    public function getGiamtrugiacanh()
    {
    	return $this->giamtrugiacanh;
    }
    
}